package cn.wolfcode.business.mapper;

import cn.wolfcode.business.domain.BusServiceItem;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ServiceItemMapper {
    List<BusServiceItem> selectList(BusServiceItem serviceItem);

    BusServiceItem selectById(Long id);

    int insert(BusServiceItem serviceItem);

    int updateById(BusServiceItem serviceItem);

    int change(@Param("saleStatus") Integer saleStatusOn, @Param("id") Long id);
}
